package com.wl.api.dto.system;

import java.io.Serializable;
import java.util.List;

import com.wl.api.dto.base.PaginationConst;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SecurityAreaLadderExtendDTO extends PaginationConst implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer countryId;
	private String countryCn;
	private String countryEn;
	private String shortName;
	private String feeType; //  费用类型 feePickup(取货费), feeDelivery(派件费)
	private List<SecurityChannelAreaLadderPriceDTO> deliveryLadderList;
	private List<SecurityChannelAreaLadderPriceDTO> pickUpLadderlList;
	
    public SecurityAreaLadderExtendDTO buildDetail(List<SecurityChannelAreaLadderPriceDTO> deliveryLadders, List<SecurityChannelAreaLadderPriceDTO> pickUpLadders) {
    	this.deliveryLadderList = deliveryLadders;
    	this.pickUpLadderlList = pickUpLadders;
    	return this;
    }
    public SecurityAreaLadderExtendDTO buildPickUpLadder(List<SecurityChannelAreaLadderPriceDTO> pickUpLadders) {
    	this.pickUpLadderlList = pickUpLadders;
    	return this;
    }
    public SecurityAreaLadderExtendDTO buildDeliveryLadder(List<SecurityChannelAreaLadderPriceDTO> deliveryLadders) {
    	this.deliveryLadderList = deliveryLadders;
    	return this;
    }
}
